package com.mzp.cart.categorys.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Description user实体类
 * @author admin
 * @date 2021-04-17 17:27:28
 */
@Entity
@Table(name="user")
public class Cart implements Serializable{

	@Id
	private String id;//主键ID

	private String username; //username
	private String password; //password
	private Integer sex; //sex
	private String QQ; //QQ
	private String wechat; //wechat
	private String email; //email
	private Integer ordertotal; //ordertotal
	private Integer age; //age
	private String phone; //phone
	private String addr; //addr
	private String location; //location
	private String loginIp; //loginIp
	private java.util.Date lastlogintime; //lastlogintime
	private java.util.Date createtime; //createtime
	private java.util.Date updatetime; //updatetime
	private Integer isDel; //is_del
	private String loginIp; //login_ip

	public String getId() {
		return this.id;
	}

	public void setId(String aValue) {
		this.id = aValue;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsername() {
		return this.username;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return this.password;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getSex() {
		return this.sex;
	}
	public void setQQ(String QQ) {
		this.QQ = QQ;
	}

	public String getQQ() {
		return this.QQ;
	}
	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getWechat() {
		return this.wechat;
	}
	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return this.email;
	}
	public void setOrdertotal(Integer ordertotal) {
		this.ordertotal = ordertotal;
	}

	public Integer getOrdertotal() {
		return this.ordertotal;
	}
	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getAge() {
		return this.age;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPhone() {
		return this.phone;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getAddr() {
		return this.addr;
	}
	public void setLocation(String location) {
		this.location = location;
	}

	public String getLocation() {
		return this.location;
	}
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public String getLoginIp() {
		return this.loginIp;
	}
	public void setLastlogintime(java.util.Date lastlogintime) {
		this.lastlogintime = lastlogintime;
	}

	public java.util.Date getLastlogintime() {
		return this.lastlogintime;
	}
	public void setCreatetime(java.util.Date createtime) {
		this.createtime = createtime;
	}

	public java.util.Date getCreatetime() {
		return this.createtime;
	}
	public void setUpdatetime(java.util.Date updatetime) {
		this.updatetime = updatetime;
	}

	public java.util.Date getUpdatetime() {
		return this.updatetime;
	}
	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public Integer getIsDel() {
		return this.isDel;
	}
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public String getLoginIp() {
		return this.loginIp;
	}

}



